project(IOExamples)

add_executable(Itk_WriteAnImage Itk_WriteAnImage.cpp)
target_link_libraries(Itk_WriteAnImage  ${ITK_LIBRARIES})

add_executable(Itk_GenerateSlicesFromVolume Itk_GenerateSlicesFromVolume.cpp)
target_link_libraries(Itk_GenerateSlicesFromVolume  ${ITK_LIBRARIES})

# dicom
add_executable(Itk_DicomImageReadWrite Itk_DicomImageReadWrite.cpp)
target_link_libraries(Itk_DicomImageReadWrite  ${ITK_LIBRARIES})

# ReadWriteDicom
add_executable(Itk_ReadWriteDicom Itk_ReadWriteDicom.cpp)
target_link_libraries(Itk_ReadWriteDicom  ${ITK_LIBRARIES})

# ConvertSTLtoDICOM
add_executable(convertSTLtoDICOM ConvertSTLtoDICOM.cpp)
target_link_libraries(convertSTLtoDICOM ${VTK_LIBRARIES})

add_executable(Itk_ReadDICOMSeriesAndWrite3DImage Itk_ReadDICOMSeriesAndWrite3DImage.cpp)
target_link_libraries(Itk_ReadDICOMSeriesAndWrite3DImage  ${ITK_LIBRARIES})

# 修改一个dicom文件
add_executable(Itk_DicomImageModify Itk_DicomImageModify.cpp)
target_link_libraries(Itk_DicomImageModify  ${ITK_LIBRARIES})

add_executable(Itk_ImageReadDicomSeriesWrite Itk_ImageReadDicomSeriesWrite.cpp)
target_link_libraries(Itk_ImageReadDicomSeriesWrite  ${ITK_LIBRARIES})

